package top.xiequanquan.groupcode.system.annotation;

import top.xiequanquan.groupcode.system.constant.ConsoleMenu;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author XQQ
 * @create 2019-05-15 17:55
 * @desc
 **/
@Retention(RetentionPolicy.RUNTIME)
public @interface Authority {
    String code() default "";
    String desc() default "";
    int sort() default Integer.MAX_VALUE;
    ConsoleMenu menu() default ConsoleMenu.NULL;
}